<div class="container">
	<div class="row">
		<div style="height: 20px;">
			<div class="col-md-8">欢迎访问成才网！</div>
			<#if Session.member??>
			<div class="col-md-4 text-right">
				欢迎您！${Session.member.username!}
				<p class="text-right">
					<a onclick="logout()">注销账户&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</a>
				</p>
			</div>
			<#else>
			<div class="col-md-4 text-right">
				<a href="${base}/login.html">登录</a>/ <a href="${base}/register.html">注册</a>/
				<a href="${base}/retrievePassword/step1.html">找回密码</a>
			</div>
			</#if>
		</div>
	</div>

	<div class="row" style="background-color: #F7F7F7; border:thin;">
		<div class="col-md-offset-2 col-md-2 text-center">
			<a href="${base}/index.html"><font style="font-size: large;">首页</font></a>
		</div>
		<div class="col-md-2 text-left">
			<a href="${base}/course/search.html"><font
				style="font-size: large;">课程库</font></a>
		</div>
		<div class="col-md-2 text-left">
			<a href="${base}/member/account/baseInfo.html"><font
				style="font-size: large;">个人中心</font></a>
		</div>
		<div class="col-md-2 text-left">
			<a href="${base}/about/contact.html"><font
				style="font-size: large;">联系我们</font></a>
		</div>
	</div>
</div>

<script type="text/javascript">
	function logout(){
		if(window.confirm("确认要注销该账户吗？")){
			window.location = "${base}/auth/logoutAction.html";
		} else{
			return;
		}
	}
</script>
